﻿using Azure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;
using VOL.SmartHealthcare.Infrastructure;
using VOL.Team.TeamIServices.ProcessProcedure.IServices;

namespace VOL.Team.TeamIServices.ProcessProcedure.Services
{
    public class operationalService : IoperationalService
    {
        private readonly IBaseRepository<Operational> _operationRepository;

        public operationalService(IBaseRepository<Operational> operationRepository)
        {
            _operationRepository = operationRepository;
        }
        /// <summary>
        /// 查询工艺路线
        /// </summary>
        /// <returns></returns>
        public IQueryable<Operational> GetOperational()
        {
           var operations=_operationRepository.GetAll();
           return operations;
        }
    }
}
